package com.fage.spring;


import com.fage.pojo.User;

import java.util.List;

/**
 * @author lin
 * @version 1.0
 * @date 2020-08-10 11:18
 * @Description TODO
 */
public interface UserDao {
    User saveUser(User user);

    User findByName(String userName);

    List<User> findAllUser();

    User update(User user);
}
